package com.library.mapper;


import com.library.domain.Publisher;

import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PublisherMapper {
    List<Publisher> selectAll();

    List<Publisher> selectByName(String pubName);

    List<Publisher> selectKey(String key);

    List<String> selectPubs();

    Integer add(Publisher publisher);

    Integer del(int pid);

    Integer change(Publisher publisher);


}
